package com.ruoyi.user.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户对象 this_user
 * 
 * @author yg
 * @date 2023-11-23
 */
public class ThisUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户id */
    private Long uId;

    /** 用户名字 */
    @Excel(name = "用户名字")
    private String uName;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String uAccount;

    /** 密码 */
    @Excel(name = "密码")
    private String uPassword;

    /**  */
    @Excel(name = "")
    private Long uStatus;

    /**  */
    @Excel(name = "")
    private Long adminId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 是否删除，0表示未删除，1表示已删除 */
    @Excel(name = "是否删除，0表示未删除，1表示已删除")
    private Long isDelete;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long version;

    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }
    public void setuName(String uName) 
    {
        this.uName = uName;
    }

    public String getuName() 
    {
        return uName;
    }
    public void setuAccount(String uAccount) 
    {
        this.uAccount = uAccount;
    }

    public String getuAccount() 
    {
        return uAccount;
    }
    public void setuPassword(String uPassword) 
    {
        this.uPassword = uPassword;
    }

    public String getuPassword() 
    {
        return uPassword;
    }
    public void setuStatus(Long uStatus) 
    {
        this.uStatus = uStatus;
    }

    public Long getuStatus() 
    {
        return uStatus;
    }
    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uId", getuId())
            .append("uName", getuName())
            .append("uAccount", getuAccount())
            .append("uPassword", getuPassword())
            .append("uStatus", getuStatus())
            .append("adminId", getAdminId())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .append("version", getVersion())
            .toString();
    }
}
